using System.Collections;
using System.Collections.Generic;
using System.Xml;
using UnityEngine;

public class Enemy_Protoplasm : Enemy
{
	#region State
	public ProtoplasmIdleState idleState { get; private set; }
	public ProtoplasmMoveState moveState { get; private set; }
	public ProtoplasmBattleState battleState { get; private set; }
	public ProtoplasmAttackState attackState { get; private set; }
    #endregion

    protected override void Awake()
    {
        base.Awake();

        idleState = new ProtoplasmIdleState(this, stateMachine, "Idle", this);
        moveState = new ProtoplasmMoveState(this, stateMachine, "Move", this);
        battleState = new ProtoplasmBattleState(this, stateMachine, "Move", this);
        attackState = new ProtoplasmAttackState(this, stateMachine, "Attack", this);
    }

    protected override void Start()
    {
        base.Start();

        stateMachine.Initalize(idleState);      
    }

    protected override void Update()
    {
        base.Update();
    }


    public override void Die()
    {
        base.Die();
    }
}
